﻿using SEIPropertyDataService.Entity.Converters;
using System;
using System.Text.Json.Serialization;

namespace SEIPropertyDataService.Entity.ViewModels
{
    /// <summary>
    /// 带时间的参数
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class VM_ParamWithTime<T>
    {
        /// <summary>
        /// 参数
        /// </summary>
        public T Param { get; set; }
        /// <summary>
        /// 时间，当前时间rsa加密的结果
        /// </summary>
        [JsonConverter(typeof(CustomDateTimeConverter))]
        public DateTime Time { get; set; }
    }
}
